package four;

public class Pair<T> {

		 public Pair(T first, T second) {
		       this.first = first;  
		      this.second = second; 
		 }
		 public T getFirst() { return first; }
		 public void setFirst(T newValue) { first = newValue; }
		 public T getsecond() { return second; }
		 public void setsecond(T newValue) { second= newValue; }
		 private T first; 
		 private T second;

}



